package com.smmisia.shop.api;

import com.smmisia.common.Result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "article-dev", path = "/api")
public interface AttractionService {
    @GetMapping(value = "/insertAttraction")
    Result<Boolean> insertAttraction(@RequestParam("attractionId") Integer attractionId,
                                     @RequestParam("businessId") Integer businessId);
}

